#ifndef GRAPHVISUALVIEW_H
#define GRAPHVISUALVIEW_H

#include <QWidget>
#include <QPainter>
#include <QLayout>
#include <QLabel>
#include <QGroupBox>
#include <QPushButton>
#include "graphmodelslist.h"
#include "graphtextview.h"
#include "graphpic.h"

class GraphVisualView : public QWidget
{
    Q_OBJECT

    GraphModelsList *graphList;
    QWidget *mainWindow;
    QGridLayout *layout;

    QPushButton *prev;
    QPushButton *close;
    QPushButton *text;
    QPushButton *next;

    GraphPic *pic;

    void DrawWindow();
    void InitSignalSlots();
public:
    GraphVisualView(QWidget *window, GraphModelsList *list);
    ~GraphVisualView();

signals:

public slots:
    void closeButtonEvent();
    void nextButtonEvent();
    void prevButtonEvent();
    void textButtonEvent();

};

#endif // GRAPHVISUALVIEW_H
